#include "eventloop.h"
#include "channel.h"
#include "socket.h"
#include <sys/eventfd.h>
#include "poll.h"

CEventLoop::CEventLoop(int tid)
:m_threadId(tid),
m_PtrWeakupSocket(new CSocket(eventfd(0,0))),
m_weakupChannel(this,m_PtrWeakupSocket),
m_poll(new CPoll())
{
    
}

void CEventLoop::UpdataChannel(CChannel *channel)
{
}

void CEventLoop::Loop()
{
}
